package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;


/**
 * The persistent class for the per_pms_h_ces database table.
 * 
 */
@Entity
@Table(name="per_pms_h_ces")
@NamedQuery(name="PerPmsHCes.findAll", query="SELECT p FROM PerPmsHCes p")
public class PerPmsHCes implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int cesid;

	private Timestamp cesdtime;

	private Timestamp cesqtime;

	private Timestamp cesxtime;

	//bi-directional many-to-one association to PerPmsEmp
	@ManyToOne
	@JoinColumn(name="EMPID")
	private PerPmsEmp perPmsEmp;

	//bi-directional many-to-one association to PerPmsHCont
	@ManyToOne
	@JoinColumn(name="CONTID")
	private PerPmsHCont perPmsHCont;

	public PerPmsHCes() {
	}

	public int getCesid() {
		return this.cesid;
	}

	public void setCesid(int cesid) {
		this.cesid = cesid;
	}

	public Timestamp getCesdtime() {
		return this.cesdtime;
	}

	public void setCesdtime(Timestamp cesdtime) {
		this.cesdtime = cesdtime;
	}

	public Timestamp getCesqtime() {
		return this.cesqtime;
	}

	public void setCesqtime(Timestamp cesqtime) {
		this.cesqtime = cesqtime;
	}

	public Timestamp getCesxtime() {
		return this.cesxtime;
	}

	public void setCesxtime(Timestamp cesxtime) {
		this.cesxtime = cesxtime;
	}

	public PerPmsEmp getPerPmsEmp() {
		return this.perPmsEmp;
	}

	public void setPerPmsEmp(PerPmsEmp perPmsEmp) {
		this.perPmsEmp = perPmsEmp;
	}

	public PerPmsHCont getPerPmsHCont() {
		return this.perPmsHCont;
	}

	public void setPerPmsHCont(PerPmsHCont perPmsHCont) {
		this.perPmsHCont = perPmsHCont;
	}

}